﻿@model SoftHotel.Models.Consumo


@{
    ViewBag.Title = "Nuevo Consumo";
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

    @using (Html.BeginForm("Create2", "Consumo", new {  id = '0' , consumo = Model }, FormMethod.Get))
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Servicio</legend>
    <table rules="none" style="border-color: Black; width: 900px; margin-bottom: 0px;">
	<tbody><tr>
		<td style="width: 20px;"></td>
		<td style="font-weight: bold;"> Cliente:</td>
		<td>@Html.EditorFor(model => model.idCliente)</td>	
		<td style="font-weight: bold;"> Reserva:</td>
		<td>@Html.EditorFor(model => model.idReserva)</td>	
	</tr><tr>	
		<td style="width: 20px;"></td>
        <td style="font-weight: bold;">Ambiente</td>
        <td>@Html.EditorFor(model => model.idAmbiente)</td>
        <td style="font-weight: bold;">Servicio</td>
        <td>@Html.EditorFor(model => model.idServicio)</td>
		<td>@Html.HiddenFor(model=>model.tipo)</td>	
	</tr>
	
</tbody></table>

    </fieldset><div  style="float:left">

            <input type="submit" value="Siguiente" />
        </div>
}

@using (Html.BeginForm("Search", "Consumo", FormMethod.Get))
{    <input type="submit" name="regresar" value="Regresar" />
}